package com.chidopi.cdf.service.impl;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import com.chidopi.cdf.dao.ICommonDao;
import com.chidopi.cdf.service.ICommonService;


public class CommonServiceImpl implements ICommonService {
	protected static Logger logger = LoggerFactory.getLogger(CommonServiceImpl.class);
	@Autowired
	@Qualifier("commonDao")
	protected ICommonDao commonDao;

	public List<Map<String, Object>> queryForList(String sql, Object... args)
			throws Exception {
		return this.commonDao.queryForList(sql, args);
	}

}
